home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_9.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  73KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | crt screen | monitor | poster | reckoner | sky
OCR: Sat, Feb 17 1996 Beginners Guide Macintosh Assembly Language Programming Page Hexadecimal notation Hex is just number system, the same as decimal and binary In decimal we use base 10 in binary we use base and in hex we use base 16 How can we use base 16 if we only have ten digits (0-9 Good question The digit set extended using the letters If you can understand binary hex isn't a big deal Each hex digit represents bits IO nibble An example IS probably easiest to understand: Here's an easy one 255 in binary is 11111111 (8 ones). To get 255 n hex first convert to binary then split it up into nibbles, 1111 1111 Each hex is a nibble. so 1111 is 16 in decimal, or F in hexadecimal. Therefore 255 11111111 in binary or FF in hex To show this is a hex number we precede it with a dollar sign $FF or t ...